using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.AutoMapper;
using Volo.Abp.Modularity;
using Volo.Abp.Application;
using Matrix.Configuration;
using UserManagementService.Users;
using UserManagementService.Organizations;

namespace UserManagementService;

[DependsOn(
    typeof(UserManagementServiceDomainModule),
    typeof(UserManagementServiceApplicationContractsModule),
    typeof(AbpDddApplicationModule),
    typeof(AbpAutoMapperModule),
    typeof(MatrixConfigurationApplicationModule)
)]
public class UserManagementServiceApplicationModule : AbpModule
{
    public override void ConfigureServices(ServiceConfigurationContext context)
    {
        Configure<AbpAutoMapperOptions>(options =>
        {
            options.AddMaps<UserManagementServiceApplicationModule>();
        });
    }
}